package Observer_Pattern.Shares;

// -*-coding:utf-8 -*-
//人员：刘陆鑫
//班级：19软3
//学号；2019110218
public class Member implements Observe{
    private String name;

    public Member(String name){
        this.name=name;

    }
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void show() {
        System.out.println("该股民"+this.getName()+"通知成功");
    }
}
